Skip to content

Conversation

@mart-r
Copy link
Collaborator

@mart-r mart-r commented Oct 28, 2025

The demo app would (so far) catch the exception when model load fails and print it (in a very much unuseful way) and still run the app.

There's no reason for the demo app to run without a loaded model.

So this PR makes the service fail (and produce a stack trace) if/when model loading fails.

It also removes a few env variables that weren't used.

@tomolopolis
Copy link
Member

Task linked: CU-869azbdfh Fix demo app

@mart-r mart-r merged commit cb3d7c5 into main Oct 28, 2025
7 checks passed
@mart-r mart-r deleted the bug/medcat-demo-app/CU-869azbdfh-fail-without-model branch October 28, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants